﻿@model WebUI.Models.GetPasswordModel
@{
    Layout = "~/Views/Shared/_SimpleLayout.cshtml";
}
@using (Html.BeginForm())
{
    <div style="text-align: center">
        @if (!ViewBag.IsChanged)
        {
            <table align="center" class=" noborder" style="height: 96px">
                <tr>
                    <td valign="top" colspan="3">
                        <div class="catalog-title">
                            找回密码</div>
                        @Html.ValidationSummary(true, "")
                    </td>
                </tr>
                <tr>
                    <td valign="bottom">
                        <div class="editor-label">
                            用户名：
                        </div>
                        <div class="editor-field">
                            @Html.TextBoxFor(m => m.UserName)
                            @Html.ValidationMessageFor(m => m.UserName, "*")
                        </div>
                    </td>
                    <td valign="bottom">
                        <div class="editor-label">
                            手机号：
                        </div>
                        <div class="editor-field">
                            @Html.TextBoxFor(m => m.MobilePhone)
                            @Html.ValidationMessageFor(m => m.MobilePhone, "*")
                        </div>
                    </td>
                    <td valign="bottom">
                        <input id="logonsubmit" type="submit" value="确定" />
                    </td>
                </tr>
                <tr>
                    <td colspan="3" class="warrning">
                        <i>*操作成功后，密码将会发送到你的手机。</i>
                    </td>
                </tr>
            </table>
        }
        else
        { <span style="font-weight: bold">密码找回成功！您的密码已通过短信方式发送到您的手机！</span> }
    </div>            
            
}